package com.chinacoal.microservice.service;

import com.chinacoal.microservice.pojo.CcmsSmartleasingAuditRecods;
import com.chinacoal.microservice.pojo.CcmsSmartleasingContract;
import com.chinacoal.microservice.util.CodeMsg;
import com.chinacoal.microservice.util.QueryCriteria;
import com.chinacoal.microservice.util.Result;

import java.util.List;

/**
 * @author zhuliang
 * @version V1.0
 * @Description: 运维管理-合同管理-实现接口类
 * @date 2020-11-16 10：06
 */
public interface ContractManagementService {

    Result<List<CcmsSmartleasingContract>> getAllContract(QueryCriteria queryCriteria, String token);

    Result rentCancellation(CcmsSmartleasingContract contract, String token);

    Result<CcmsSmartleasingContract> getContractById(String pkContractId, String token);

    Result updateContract(CcmsSmartleasingContract contract, String token);

    Result reviewContract(CcmsSmartleasingAuditRecods auditRecods, String token);

    Result deleteContract(String deleteId, String token);

    Result<List<CcmsSmartleasingContract>> getContractByCondition(QueryCriteria queryCriteria, String token);

    Result addContract(CcmsSmartleasingContract contract, String token);
}
